﻿<%@ page title="" language="C#" masterpagefile="Manage.master" autoeventwireup="true" inherits="Manage_DealProduct, App_Web_x1yzsqrv" %>



<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderManage" Runat="Server">

<div class="titlePageManage">处理手机店主订制应用的申请</div>

<div style=" width:800px;">
<form runat="server" class="formMarginManage">
    <asp:DataList ID="DataList1" runat="server" CssClass="tableMarginManage"  DataKeyField="o_id" 
        oncancelcommand="DataList1_CancelCommand" 
        ondeletecommand="DataList1_DeleteCommand" oneditcommand="DataList1_EditCommand" 
        onupdatecommand="DataList1_UpdateCommand">
    <HeaderTemplate>
            <span class="titleTable">订制ID</span></td>
        <td><span class="titleTable">店主名</span></td>
        <td><span class="titleTable">软件名称</span></td>
        <td><span class="titleTable">订制时间</span></td>
        <td><span class="titleTable">软件唯一ID</span></td>
        <td><span class="titleTable">下载地址</span></td>
        <td><span class="titleTable">状态</span></td>
        <td><span class="titleTable">操作</span>
    </HeaderTemplate>
    <ItemTemplate>
            <asp:Label ID="key" Text='<%# Eval("o_id")%>' runat="server"></asp:Label></td>
        <td><asp:Label ID="lblusername" Text='<%# Eval("u_username")%>' runat="server"></asp:Label></td>
        <td>
        <asp:HiddenField ID="hidesid" Value='<%# Eval("s_id") %>' runat="server" />
        <asp:Label ID="lblname" Text='<%# Eval("s_name")%>' runat="server"></asp:Label>
        </td>
        <td><asp:Label ID="lbltime" Text='<%# Eval("o_time")%>' runat="server"></asp:Label></td>
        <td><asp:Label ID="lblunique" Text='<%# Eval("o_unique")%>' runat="server"></asp:Label></td>
        <td><asp:Label ID="lbldownload" Text='<%# Eval("o_download")%>' runat="server"></asp:Label></td>
        <td><asp:Label ID="lblstate" Text='<%# Eval("o_state")%>' runat="server"></asp:Label>
        <td><asp:LinkButton ID="edit" CommandName="edit" runat="server" Text="编辑" />
            <asp:LinkButton ID="delete" CommandName="delete"  runat="server" Text="删除" />
    </ItemTemplate>
    <EditItemTemplate>
        <asp:Label ID="ekey" Text='<%# Eval("o_id")%>' runat="server"></asp:Label></td>
        <td><asp:Label ID="elblusername" Text='<%# Eval("u_username")%>' runat="server"></asp:Label></td>
        <td>
        <asp:HiddenField ID="ehidesid" Value='<%# Eval("s_id") %>' runat="server" />
        <asp:Label ID="elblname" Text='<%# Eval("s_name")%>' runat="server"></asp:Label>
        </td>
        <td><asp:Label ID="elbltime" Text='<%# Eval("o_time")%>' runat="server"></asp:Label></td>
        <td><asp:TextBox ID="unique" runat="server"></asp:TextBox></td>
        <td><asp:FileUpload ID="upload" runat="server" /></td>
        
        <td><asp:LinkButton ID="update" CommandName="update" Text="确定" runat="server"/></td>
        <td><asp:LinkButton ID="cancel" CommandName="cancel" Text="取消" runat="server"/>
    </EditItemTemplate>
    </asp:DataList>
        当前：第<asp:Label ID="lblCurrentPage" runat="server" Text="1"></asp:Label>页
                <asp:LinkButton ID="lblFirstPage" runat="server" Text="首页" OnClick="lblFirstPage_Click"></asp:LinkButton>
                <asp:LinkButton ID="lblFrontPage" runat="server" Text="上一页" OnClick="lblFrontPage_Click"></asp:LinkButton>
                <asp:LinkButton ID="lblNextPage" runat="server" Text="下一页" OnClick="lblNextPage_Click"></asp:LinkButton>
                <asp:LinkButton ID="lblLastPage" runat="server" Text="末页" OnClick="lblLastPage_Click"></asp:LinkButton>
                总共<asp:Label ID="lblTotalPage" runat="server" ></asp:Label>页
    
</form>
</div>
</asp:Content>
